package cc.site.main.service;

import cc.site.main.bean.TblRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 房间 服务类
 * </p>
 *
 * @author yangruomao
 * @since 2024-04-14
 */

public interface TblRoomService extends IService<TblRoom> {

    /**
     * 查询这个room下有多少个宠物
     * @param roomId
     * @return
     */
    int getPetCountByRoomId(Integer roomId);

}
